package com.yantong.service;


import com.yantong.pojo.Address;
import com.yantong.pojo.WebAddress;
import com.yantong.utils.PageUtils;

import java.util.List;
import java.util.Map;

public interface AddressService {

    int save(Address entity);

    Address getByKey(Long id);

    int update(Address entity);

    List<Address> queryList(Map params);

    void delete(Long id);

    int queryTotal(Map params);

    PageUtils<Address> list(Map params);

    Address getMemDefaultAddress(Long mid);

    Address getLateLyAddress(Map map);


    int saveWebAddress(WebAddress webAddress);
}
